package com.hippy.lib.utils

object StringUtils {
    fun isSpace(text: String?): Boolean {
        if (text == null) {
            return true
        }
        for (i in text.indices) {
            if (!Character.isWhitespace(text[i])) {
                return false
            }
        }
        return true
    }
}